package shipping.api;

import org.springframework.data.domain.Sort;
import shipping.model.OrderShipping;

import java.util.Map;

/**
 * 订单配送信息相关Api
 * Created by Liang Wenxu on 2017-03-16.
 */
public interface OrderShippingApi {
    /**
     *  保存物流
     *  @param tradeNos
     *  @param expressCompanys
     * @return
     */
    public Map saveShipping(String[] tradeNos, String[] expressCompanys);

    public void saveBean(OrderShipping bean);

    public OrderShipping findById(String id);
}
